<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>{$G[title]} - {$G[setting][sitename]}</title>
<meta name="keywords" content="{$G[keywords]}">
<meta name="description" content="{$G[description]}">
<link rel="icon" href="/static/images/common/favicon.ico">
<link rel="stylesheet" type="text/css" href="/static/css/common.css">
<link rel="stylesheet" type="text/css" href="/static/css/style.css">
<script src="/static/js/jquery.js" type="text/javascript"></script>
<script src="/static/js/common.js" type="text/javascript"></script>
<script src="/static/js/jquery.form.js" type="text/javascript"></script>
<script src="/static/js/jquery.dsxui.js" type="text/javascript"></script>
<script src="/static/js/jquery-ui-1.10.4.custom.min.js" type="text/javascript"></script>
</head>
<body>
<div class="header-hd">
	<div class="area header">
    	<div class="topnav">
        	 <div class="menu"><a href="/">星微首页</a></div>
            {if $G[islogined]}
            <div class="menu"><a href="/?m=account">个人中心</a></div>
            {if $G[member][admincp]}<div class="menu"><a href="/?m=admin&c=login">后台管理</a></div>{/if}
            <div class="menu"><a href="/?m=member&c=logout">安全退出</a></div>
            {else}
            <div class="menu"><a href="/?m=member&c=login">登录</a></div>
            <div class="menu"><a href="/?m=member&c=register">注册</a></div>
            {/if}
            <div class="menu"><a href="/?m=goods&c=cart">购物车</a></div>
            <div class="menu"><a href="/?m=seller">我是商家</a></div>
            <div class="menu"><a href="/?m=account&c=order">我的订单</a></div>
            <div class="menu"><a href="/?m=account&c=favorite">我的收藏</a></div>
            <div class="menu"><a href="/?m=about">关于星微</a></div>
        </div>
    	<a href="/?m=events&c=app"><i class="icon">&#xf00a2;</i>手机版</a>
    </div>
</div>

<div class="area banner">
	<div class="searchbox">
    	<div class="input-hd">
        	<input type="text" class="text" placeholder="宝贝, 店铺, 品牌">
        </div>
        <div class="searchButton">搜索</div>
    </div>
	<a href="" class="logo"><img src="/static/images/common/logo.png"></a>
</div>
{eval $navlist=cache('nav');}
<div class="navHD">
	<div class="area mainNav">
    	<!--<div class="shadow"></div>
        <div class="shadow2"></div>-->
        <ul id="navUL">
           <li{if $G[m]=='home'} class="cur"{/if}><a href="/">首页</a></li>
           <li{if $G[m]=='lianmeng'} class="cur"{/if}><a href="/?m=lianmeng">联盟商家</a></li>
           <li{if $G[m]=='market'} class="cur"{/if}><a href="/?m=market">区域超市</a></li>
           {if $G[m]=='market'}<li{if $G[m]=='account'} class="cur"{/if}><a href="/?m=account&c=fan">购物分红</a></li>{/if}
           <li{if $G[m]=='about'} class="cur"{/if}><a href="/?m=about">关于星微</a></li>
        </ul>
    </div>
</div>
<!--<script type="text/javascript">
(function(){
	$("#navUL li").click(function(e) {
        DSXCMS.setCookie('curNav', $(this).index(), 10);
    });
	var curNav = parseInt(DSXCMS.getCookie('curNav'));
	$("#navUL li").eq(curNav).addClass('cur').siblings().removeClass('cur');
})();
</script>-->